package com.bcx.crm.controller.templateTestController;

import com.bcx.crm.service.templateTestService.InsertTemplateService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by ys on 2018/2/27.
 */
@RestController
@RequestMapping("/insertTemplate")
public class InsertTemplateController {

    @Resource
    private InsertTemplateService insertTemplateService;
    @GetMapping("/commonInsertTemplate")
    public int insertTemplate(){
        return insertTemplateService.insertTemplate();
    }


}
